using System;
using System.Data;

namespace Transfer_Object_Tier
{
	#region Comments
	/// <summary>
	/// HRM_INSURANCE Class.
	/// </summary>
	/// <remarks>
	/// <h3>Changes</h3>
	/// <list type="table">
	/// 	<listheader>
	/// 		<th>Author</th>
	/// 		<th>Date</th>
	/// 		<th>Details</th>
	/// 	</listheader>
	/// 	<item>
	/// 		<term>eSolution Viet Nam -- esolution.vn</term>
	/// 		<description>12/21/2012</description>
	/// 		<description>Created</description>
	/// 	</item>
	/// </list>
	/// </remarks>
	#endregion

	[Serializable]
	public class HRM_INSURANCE
	{
		#region Construction
		/// <summary>
		/// Initializes a new (no-args) instance of the HRM_INSURANCE class.
		/// </summary>
		public HRM_INSURANCE()
		{
		}

		/// <summary>
		/// Initializes a new instance of the HRM_INSURANCE class.
		/// </summary>
		public HRM_INSURANCE(Guid InsuranceID, Guid InsuranceTableListID, String EmployeeCode, String EmployeeName, String SocialInsuranceCode, String HealthInsuranceCode, DateTime Birthday, Boolean Sex, String IDCard, String MainAddress, String Province, String Hospital, Decimal OldSalary, Decimal OldAllowance1, Decimal OldAllowance2, Decimal OldAllowance3, Decimal OldAllowance4, Decimal NewSalary, Decimal NewAllowance1, Decimal NewAllowance2, Decimal NewAllowance3, Decimal NewAllowance4, DateTime FromDate, DateTime ToDate, Double Rate, Boolean IsPay, Int32 Type, String Description)
		{
			this.InsuranceID = InsuranceID;
			this.InsuranceTableListID = InsuranceTableListID;
			this.EmployeeCode = EmployeeCode;
			this.EmployeeName = EmployeeName;
			this.SocialInsuranceCode = SocialInsuranceCode;
			this.HealthInsuranceCode = HealthInsuranceCode;
			this.Birthday = Birthday;
			this.Sex = Sex;
			this.IDCard = IDCard;
			this.MainAddress = MainAddress;
			this.Province = Province;
			this.Hospital = Hospital;
			this.OldSalary = OldSalary;
			this.OldAllowance1 = OldAllowance1;
			this.OldAllowance2 = OldAllowance2;
			this.OldAllowance3 = OldAllowance3;
			this.OldAllowance4 = OldAllowance4;
			this.NewSalary = NewSalary;
			this.NewAllowance1 = NewAllowance1;
			this.NewAllowance2 = NewAllowance2;
			this.NewAllowance3 = NewAllowance3;
			this.NewAllowance4 = NewAllowance4;
			this.FromDate = FromDate;
			this.ToDate = ToDate;
			this.Rate = Rate;
			this.IsPay = IsPay;
			this.Type = Type;
			this.Description = Description;
		}
		#endregion

		#region Properties
		/// <summary>
		/// Gets or sets the InsuranceID value.
		/// </summary>
		public virtual Guid InsuranceID { get; set; }

		/// <summary>
		/// Gets or sets the InsuranceTableListID value.
		/// </summary>
		public virtual Guid InsuranceTableListID { get; set; }

		/// <summary>
		/// Gets or sets the EmployeeCode value.
		/// </summary>
		public virtual String EmployeeCode { get; set; }

		/// <summary>
		/// Gets or sets the EmployeeName value.
		/// </summary>
		public virtual String EmployeeName { get; set; }

		/// <summary>
		/// Gets or sets the SocialInsuranceCode value.
		/// </summary>
		public virtual String SocialInsuranceCode { get; set; }

		/// <summary>
		/// Gets or sets the HealthInsuranceCode value.
		/// </summary>
		public virtual String HealthInsuranceCode { get; set; }

		/// <summary>
		/// Gets or sets the Birthday value.
		/// </summary>
		public virtual DateTime Birthday { get; set; }

		/// <summary>
		/// Gets or sets the Sex value.
		/// </summary>
		public virtual Boolean Sex { get; set; }

		/// <summary>
		/// Gets or sets the IDCard value.
		/// </summary>
		public virtual String IDCard { get; set; }

		/// <summary>
		/// Gets or sets the MainAddress value.
		/// </summary>
		public virtual String MainAddress { get; set; }

		/// <summary>
		/// Gets or sets the Province value.
		/// </summary>
		public virtual String Province { get; set; }

		/// <summary>
		/// Gets or sets the Hospital value.
		/// </summary>
		public virtual String Hospital { get; set; }

		/// <summary>
		/// Gets or sets the OldSalary value.
		/// </summary>
		public virtual Decimal OldSalary { get; set; }

		/// <summary>
		/// Gets or sets the OldAllowance1 value.
		/// </summary>
		public virtual Decimal OldAllowance1 { get; set; }

		/// <summary>
		/// Gets or sets the OldAllowance2 value.
		/// </summary>
		public virtual Decimal OldAllowance2 { get; set; }

		/// <summary>
		/// Gets or sets the OldAllowance3 value.
		/// </summary>
		public virtual Decimal OldAllowance3 { get; set; }

		/// <summary>
		/// Gets or sets the OldAllowance4 value.
		/// </summary>
		public virtual Decimal OldAllowance4 { get; set; }

		/// <summary>
		/// Gets or sets the NewSalary value.
		/// </summary>
		public virtual Decimal NewSalary { get; set; }

		/// <summary>
		/// Gets or sets the NewAllowance1 value.
		/// </summary>
		public virtual Decimal NewAllowance1 { get; set; }

		/// <summary>
		/// Gets or sets the NewAllowance2 value.
		/// </summary>
		public virtual Decimal NewAllowance2 { get; set; }

		/// <summary>
		/// Gets or sets the NewAllowance3 value.
		/// </summary>
		public virtual Decimal NewAllowance3 { get; set; }

		/// <summary>
		/// Gets or sets the NewAllowance4 value.
		/// </summary>
		public virtual Decimal NewAllowance4 { get; set; }

		/// <summary>
		/// Gets or sets the FromDate value.
		/// </summary>
		public virtual DateTime FromDate { get; set; }

		/// <summary>
		/// Gets or sets the ToDate value.
		/// </summary>
		public virtual DateTime ToDate { get; set; }

		/// <summary>
		/// Gets or sets the Rate value.
		/// </summary>
		public virtual Double Rate { get; set; }

		/// <summary>
		/// Gets or sets the IsPay value.
		/// </summary>
		public virtual Boolean IsPay { get; set; }

		/// <summary>
		/// Gets or sets the Type value.
		/// </summary>
		public virtual Int32 Type { get; set; }

		/// <summary>
		/// Gets or sets the Description value.
		/// </summary>
		public virtual String Description { get; set; }
		#endregion
	}
}